package com.xuecheng.swagger.controller;

import com.xuecheng.swagger.domain.Student;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * ClassName HelloApi
 *
 * @author by QI
 * @Description
 * @Date 2022/7/7 20:10
 */
@Api(value = "Hello Controller",tags = "Hello api 接口文档-tags",description = "Hello api 接口文档-desc")
public interface HelloApi {

    @ApiOperation("修改学员信息")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "id",value = "学员id值",required = true,dataType = "String",paramType = "path"),
            @ApiImplicitParam(name = "name",value = "学员姓名值",required = true,dataType = "String",paramType = "quary"),
    })
    Student mofidyStudentBynNum(String id,
                                String name,
                                Student student);
}
